package com.szeldon.declatest.exec.result;

import com.szeldon.declatest.declaration.scenario.parts.EndPartDeclaration;

/**
 * Result for scenario's execution that ends with "End" part.
 * 
 * @author szeldon
 * 
 */
public class EndScenarioExecutionResult extends ScenarioExecutionResult {

    private EndPartDeclaration endPart;

    /**
     * 
     * @param endPart
     */
    public EndScenarioExecutionResult(EndPartDeclaration endPart) {
        this.endPart = endPart;
    }

    public EndPartDeclaration getEndPart() {
        return endPart;
    }
}
